feat: add additional metadata in the logs#81
Open
yharaskrik wants to merge 1 commit intosnarktank:mainfrom
Open
feat: add additional metadata in the logs#81yharaskrik wants to merge 1 commit intosnarktank:mainfrom
yharaskrik wants to merge 1 commit intosnarktank:mainfrom
Conversation
Greptile OverviewGreptile SummaryEnhanced Ralph's iteration logging by displaying the current user story title and description at the start of each iteration, making it easier to track progress without manually inspecting
Confidence Score: 5/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant ralph.sh
participant prd.json
participant AI Tool (Amp/Claude)
loop Each Iteration (1 to MAX_ITERATIONS)
ralph.sh->>prd.json: Read file
prd.json-->>ralph.sh: Return PRD data
ralph.sh->>ralph.sh: Extract highest priority story<br/>with passes=false using jq
ralph.sh->>ralph.sh: Store STORY_TITLE and STORY_DESC
ralph.sh->>ralph.sh: Print iteration header with<br/>story title and description
ralph.sh->>AI Tool (Amp/Claude): Execute with instructions
AI Tool (Amp/Claude)-->>ralph.sh: Return OUTPUT
ralph.sh->>ralph.sh: Check for COMPLETE signal
alt Contains COMPLETE
ralph.sh->>ralph.sh: Exit successfully
else No COMPLETE
ralph.sh->>ralph.sh: Continue to next iteration
end
end
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When running ralph you don't really know what task it is working on without opening the prd.json and scrolling down till you find the first incomplete user story, this PR updates ralph so that it will output the title and description alongside what iteraton it is processing and metadata about the user story being completed.